﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base target="center" />
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	
<title>新增用户</title>
<style type="text/css">
	h3{ margin-bottom:0px; margin-left:10px;}
	.le{ text-align:right; width:25%; height:30px; line-height:30px;}
	table{ margin-top:20px; width:80%; border-spacing:5px;}
	input{ line-height:23px;}
	input[type="text"]{ height:23px; width:300px; line-height:23px; padding-left:5px;}
	input[type="submit"]{ height:35px; width:60px;background-color:#036; color:#FFF; font-size:14px;border:none;}
</style>

<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="js/ZC-js.js"></script></head>

<body>
<h3><img src="img/adsa.png" /> 新增用户</h3>
<hr size="2px" color="#FF9933" width="90%" align="left" />
<form action="../MainServlet?option=login&ta=user" method="post" onsubmit="return checkall()">
<table>
	<tr>
    	<td class="le">用户名(*)：</td>
        <td><input type="text" name="account" id="account" onblur="accountcheck()" /><span id="s_account"></span></td>
    </tr>
    <tr>
    	<td class="le">真实姓名(*)：</td>
        <td><input type="text" name="name" onblur="namecheck()" id="name" /><span id="s_name"></span></td>
    </tr>
    <tr>
    	<td class="le">登陆密码(*)：</td>
        <td><input type="text" name="password"  maxlength="12" id="password" onblur="passwordcheck()" /><span id="s_password"></span></td>
    </tr>
    <tr>
    	<td class="le">确认密码(*)：</td>
        <td><input type="text" id="password_f" onblur="password_fcheck()"/><span id="s_password_f"></span></td>
    </tr>
    <tr>
    	<td class="le">性别(*)：</td>
        <td><input type="radio" name="sex" value="男" checked="checked"/>男性
        <input type="radio" name="sex" value="女" />女性</td>
    </tr>
    <tr>
    	<td class="le">出生日期：</td>
        <td><input type="text" name="birth" /></td>
    </tr>
    <tr>
    	<td class="le">身份证：</td>
        <td><input type="text" name="cardID" maxlength="18" id="sfz" onblur="sfzcheck()" /><span id="s_sfz"></span></td>
    </tr>
    <tr>
    	<td class="le">电子邮件：</td>
        <td><input type="text" name="email" id="email" onblur="emailcheck()"  /><span id="s_email"></span></td>
    </tr>
    <tr>
    	<td class="le">手机：</td>
        <td><input type="text" name="cellphone" maxlength="11" id="cellphone" onblur="phonecheck()"/><span id="s_phone"></span></td>
    </tr>
    <tr>
    	<td class="le">地址(*)：</td>
        <td><input type="text" name="address" id="address" onblur="addresscheck()"  /><span id="s_address"></span></td>
    </tr>
    <tr>
    	<td></td>
        <td><input type="submit" value="新增"  /></td>
    </tr>


</table>
</form>
</body>
</html>